<!--
    Created by wangyang on 2019-01-26.
    itwangyang@gmail.com
    http://itwangyang.xyz
-->
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title>A.I票据-我要出票2</title>
    <meta name="description" content="">
    <meta name="keywords" content="">
    <link rel="stylesheet" href="http://192.168.1.14/assets/css/reset.css">
    <link href="https://cdn.bootcss.com/foundation-datepicker/1.5.6/css/foundation-datepicker.css" rel="stylesheet">
    <link rel="stylesheet" href="http://192.168.1.14/assets/assest/css/animate.css">
    <link rel="stylesheet" href="http://192.168.1.14/assets/assest/css/all.min.css">
    <link rel="stylesheet" href="http://192.168.1.14/assets/assest/css/brands.min.css">
    <link rel="stylesheet" href="http://192.168.1.14/assets/assest/css/fontawesome.min.css">
    <link rel="stylesheet" href="http://192.168.1.14/assets/assest/css/regular.min.css">
    <link rel="stylesheet" href="http://192.168.1.14/assets/assest/css/solid.min.css">
    <link rel="stylesheet" href="http://192.168.1.14/assets/assest/css/svg-with-js.min.css">
    <link rel="stylesheet" href="http://192.168.1.14/assets/assest/css/v4-shims.min.css">
    <link rel="stylesheet" href="../css/bootstrap.min.css">
    <link rel="stylesheet" href="../css/style.css">
    <link rel="stylesheet" href="http://192.168.1.14/assets/css/app.css">
    <style>
        input.pic {
            display: none;
        }

        label.upimg {
            display: flex;
            width: 254px;
            height: 196px;
            border-radius: 50%;
            overflow: hidden;
            align-items: center;
            justify-content: center;
            flex-direction: column;
            margin-top: -20px;
        }

        .file-img {
            width: 254px;
            height: 196px;
            border: 1px dashed #d3d3d3;
        }

        img.haha {
            width: 254px;
            height: 196px;
        }

        input {
            font-size: 14px !important;
        }

        p{
            margin: 0;
        }


    </style>
</head>
<body>
<!--ticket-top begin-->
<div class="ticket-top container-fluid">
    <div class="container">
        <nav class="ticket-top-nav">
            <a class="ticket-top-nav-item active" href="#">服务热线:120362564</a>
            <a class="ticket-top-nav-item" href="#">服务时间：<span>9:00-12:00</span></a>
        </nav>
    </div>
</div>
<!--ticket-top end-->

<!--navbar-meau begin-->
<section class="container-fluid navbar-meau">
    <nav class="container navbar navbar-expand-lg navbar-light bg-light">
        <a class="navbar-brand" href="index.html"><img src="http://192.168.1.14/assets/images/logo.png" alt=""
                                                       class="img-responsive"
                                                       width="208"
                                                       height="54"></a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
                aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav mr-auto">
                <li class="nav-item ">
                    <a class="nav-link" href="../index.html">首页 <span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item active">
                    <a class="nav-link" href="#">我要出票</a>
                </li>
                <li class="nav-item ">
                    <a class="nav-link" href="#">交易大厅</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">我的订单</a>
                </li>
            </ul>

            <form class="form-inline">
                <button class="btn btn-primary login-btn" type="button">登录</button>
                <button class="btn btn-outline-primary reg-btn" type="button">注册</button>
            </form>
        </div>
    </nav>
</section>
<!--navbar-meau end-->


<!--面包导航条 begin-->
<section class="container breadNavigationBar fontSize16 ">
    <div class="row ml-1">
        <li><a class="fontcolor20" href="http://192.168.1.14/assets/index.html">首页</a></li>
        <span class="ml-2 mr-2">&gt;</span>
        <li><a class="fontcolor20" href=""><a href="">买方接单</a></a></li>
    </div>
</section>
<!--面包导航条 end-->

<!--list-group-type begin-->
<section class="container list-group-type mb-4 ">
    <div class="mainColor fontSize30 flexBox-center mt-5 mb-2">[买方接单]</div>
    <p class="text-ing fontSize16 flexBox-center">请买方确认价格后接单</p>

    <div class="row">
        <div class="col col-lg-12  mt-4 mb-4 isModal1">
            <div class="row flexBox-center">
                <div class="col col-lg-3">
                    <div class="fileimg-onw">
                        <div class="file-img">
                            <img class="" src="../images/login_img.png" width="260" height="200" alt="">
                        </div>
                        <p class="text-center fontSize14 mt-2">票面正面截图</p>
                    </div>
                </div>
                <div class="col col-lg-3">
                    <div class="fileimg-onw">
                        <div class="file-img">
                            <img class="" src="../images/login_img.png" width="260" height="200" alt="">
                        </div>
                        <p class="text-center fontSize14 mt-2">票面反面截图</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <div class=" col-lg-12 border-d3 py-4 mb-5">
        <form>
            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label for="billMoney" class="fontSize14 fontcolor20">交易类型:</label>
                    </div>
                    <div class="col-lg-7">
                        <p class="fontSize14 fontcolor20">一口价</p>
                    </div>
                </div>
            </div>

            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label f class="fontSize14 fontcolor20">票号:</label>
                    </div>
                    <div class="col-lg-7 " >
                        <p class="fontSize14 fontcolor20">1000亿</p>
                    </div>
                </div>
            </div>



            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label for="expireDate" class="fontSize14 fontcolor20">承兑人:</label>
                    </div>
                    <div class="col-lg-7">
                        <p class="fontSize14 fontcolor20">国股</p>
                    </div>
                </div>
            </div>


            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label class="fontSize14 fontcolor20">票号:</label>
                    </div>
                    <div class="col-lg-7">
                        <p class="fontSize14 mainColor">1 123456789123 12345678 12345678 1</p>
                    </div>
                </div>
            </div>


            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label class="fontSize14 fontcolor20">到期日期:</label>
                    </div>
                    <div class="col-lg-7">
                        <p class="fontSize14 fontcolor20">2019-02-20</p>
                    </div>
                </div>
            </div>


            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label class="fontSize14 fontcolor20">瑕疵情况:</label>
                    </div>
                    <div class="col-lg-7">
                        <p class="fontSize14 fontcolor20">上下不一致</p>
                    </div>
                </div>
            </div>


            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label class="fontSize14 fontcolor20">报价:</label>
                    </div>
                    <div class="col-lg-7">
                        <p class="fontSize14 mainColor">没十万扣款2300元</p>
                    </div>
                </div>
            </div>


            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label class="fontSize14 fontcolor20">合计打款金额:</label>
                    </div>
                    <div class="col-lg-7">
                        <p class="fontSize14 mainColor">102万(含10万平台服务费和10元打款手续费)</p>
                    </div>
                </div>
            </div>

            <div class="form-group">
                <div class="row offset-2 flexBox-row">
                    <div class="col col-lg-2 pull-right">
                        <label class="fontSize14 fontcolor20">账号:</label>
                    </div>
                    <div class="col-lg-7">
                        <select class="form-control fontSize14 fontcolor20">
                            <option>请您选择账号</option>
                            <option>2</option>
                            <option>3</option>
                            <option>4</option>
                        </select>
                    </div>
                </div>
            </div>

        </form>
    </div>

    <div class="row bg-f0fafe btn-bg-f0fafe">
        <div class="col col-lg-12">
            <button type="submit" class="btn btn-primary" data-toggle="modal" data-target="#myModal">买方接单</button>
        </div>
    </div>

    <!-- 模态框 -->
    <div class="modal fade" id="myModal">
        <div class="modal-dialog modal-md">
            <div class="modal-content">

                <!-- 模态框头部 -->
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">&times;</button>
                </div>

                <!-- 模态框主体 -->
                <div class="modal-body flexBox-center">
                    接单成功，请等待卖方确认！
                </div>

                <!-- 模态框底部 -->
                <div class="modal-footer flexBox-center">
                        <button type="button" class="btn btn-md btn-primary" data-dismiss="modal">确认</button>
                </div>

            </div>
        </div>
    </div>


</section>
<!--list-group-type end-->


<!--footer begin-->
<footer class="container-fluid">
    <div class="footer container pt-3">
        <div class="row" style="color: #fff">
            <div class="col-lg-4 col-md-3 col-sm-12 ">
                <p>客服热线</p>
                <p class="tel">4000-00000-1000</p>
                <li class="navbar-bottom-item">工作时间：8：00-18：00</li>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-12 ">
                <p>关于我们</p>
                <li class="navbar-bottom-item"><a href="">关于澳赢科技</a></li>
                <li class="navbar-bottom-item"><a href="">联系我们</a></li>
            </div>
            <div class="col-lg-3 col-md-3 col-sm-12 ">
                <p>电票交易</p>
                <li class="navbar-bottom-item"><a href="">获取交易权限</a></li>
                <li class="navbar-bottom-item"><a href="">交易流程</a></li>
                <li class="navbar-bottom-item"><a href="">电子使用规则</a></li>
                <li class="navbar-bottom-item"><a href="">相关下载</a></li>
                <li class="navbar-bottom-item"><a href="">常见问题</a></li>
            </div>
            <div class="col-lg-2 col-md-3 col-sm-12 ">
                <img src="http://192.168.1.14/assets/images/qr_code.png" alt="" width="123" height="120"
                     class="img-responsive">
                <p>微信公众号</p>
            </div>
        </div>
    </div>
</footer>
<!--footer end-->

<script src="http://192.168.1.14/assets/js/jquery.js"></script>
<script src="../assest/js/vue.js"></script>
<script src="https://cdn.bootcss.com/foundation-datepicker/1.5.6/js/foundation-datepicker.min.js"></script>
<script src="http://192.168.1.14/assets/assest/js/all.min.js"></script>
<script src="http://192.168.1.14/assets/assest/js/brands.min.js"></script>
<script src="http://192.168.1.14/assets/assest/js/fontawesome.min.js"></script>
<script src="http://192.168.1.14/assets/assest/js/regular.min.js"></script>
<script src="http://192.168.1.14/assets/assest/js/solid.min.js"></script>
<script src="http://192.168.1.14/assets/assest/js/v4-shims.min.js"></script>
<script src="http://192.168.1.14/assets/js/bootstrap.min.js"></script>
<script src="http://192.168.1.14/assets/assest/js/bootstrap-notify.min.js"></script>
<script src="http://192.168.1.14/assets/js/common.js"></script>
<script>
    $(".btn-up").click(function () {
        var src = "";
        if (src == "http://192.168.1.14/assets/images/icon_arrow_down_white.png") {
            $(".btn-up>img").attr("src", "http://192.168.1.14/assets/images/icon_arrow_up_white.png")
        } else {
            $(".btn-up>img").attr("src", "http://192.168.1.14/assets/images/icon_arrow_down_white.png")
        }
    })
</script>


<script>

    /*上传图片*/
    function showpic(a) {
        //获取上传文件的信息
        var pic = a.files[0];
        console.log(pic);

        //在pic的文件里抓取该文件用于显示二进制信息
        var sr = window.URL.createObjectURL(pic);
        console.log(sr);
        //设置src属性，显示图片
        $(a).prev().attr("src", sr);
        $(a).next().hide();

        $(a).prev().click(function () {
            $(a).prev().attr("src", "");
            $(a).next().show();
            var file = $(a);
            file.after(file.clone().val(""));
            file.remove();
            $(a).prev().unbind("click")
        })

    }


    /*调用时间*/
    $('#expireDate').fdatepicker();
    $("#billingDate").fdatepicker();

    var vm = new Vue({
        el: '#billNumberApp',
        data() {
            return {
                phone: '' // 双向绑定的数据
            }
        },
        watch: {
            phone(newValue, oldValue) { // 监听
                this.phone = newValue.length > oldValue.length ? newValue.replace(/\s/g, '').replace(/(\d{1})(\d{0,12})(\d{0,8})(\d{0,8})(\d{0,1})/, '$1 $2 $3 $4 $5') : this.phone.trim()
            }
        }
    });


    /*单选按钮显示定向出票*/
    $(function () {
        $(".type-seleced").click(function () {
            var isPermanentValue = $('input[name=\'transactionType\']:checked').val();
            if(isPermanentValue==1){
                $(".isModal-show").hide();
            }else if(isPermanentValue == 2){
                $(".isModal-show").hide();
            }else if (isPermanentValue == 3) {
                $(".isModal-show").show();
            }
        })

    });


</script>
</body>
</html>
